home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / PartNum.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.3 KB  |  77 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.  
  15.     <!-- 
  16.         <![CDATA[
  17.         A PartNum identifies a part by a PartID and the agency
  18.         that issued that part number.
  19.           
  20.         In typical use, it is referenced in a document definition as:
  21.         
  22.             <element type="PartNum">
  23.         
  24.         If the Agency that issued the part number is selected from
  25.         a list of standard agencies, the XML instance for this will
  26.         look like this:
  27.             <PartNum>
  28.                 <Agency AgencyID="CommerceOne" />
  29.                 <PartID>123456</PartID>
  30.             </PartNum>
  31.             
  32.         If the Agency is non-standard, the XML will look like this:
  33.             <PartNum>
  34.                 <Agency AgencyOther="My Agency" />
  35.                 <PartID>123456</PartID>
  36.             </PartNum>
  37.             
  38.         Some Agency's may support a Part Number extension.  This
  39.         can be thought of as a logical extension of the Part Number.
  40.         An XML instance may look something like this:        
  41.             <PartNum>
  42.                 <Agency AgencyID="AssignedBySupplier" />
  43.                 <PartID>123456</PartID>
  44.                 <PartIDExt>A</PartIDExt>
  45.             </PartNum>
  46.         
  47.         
  48.         ]]>
  49.      -->
  50.  
  51.     <elementtype name="PartNum">
  52.         <model>
  53.             <sequence>
  54.                 <!--  The Agency that named the part / -->
  55.                 <element type="Agency" />
  56.                 
  57.                 <!--  The PartID is the name by which the part
  58.                     is known.  This uniquely identifies the part in the
  59.                     Agency's part numbering scheme. / -->         
  60.                 <element type="string" name="PartID" />
  61.  
  62.                 <!--  An extension to the PartID.  For example
  63.                     a Supplier may have a PartID "12345", with a
  64.                     PartIDExt of "A". / -->                
  65.                 <element type="string" name="PartIDExt" occurs="?"/>
  66.             </sequence>
  67.         </model>
  68.     </elementtype>
  69.     
  70.     <!--  A container for a list of one or more PartNum / -->
  71.     <elementtype name="ListOfPartNum">
  72.         <model>
  73.             <element type="PartNum" occurs="+" />
  74.         </model>
  75.     </elementtype>
  76. </schema>
  77.